package com.dycx.food.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.dycx.food.dto.ShoppingCartDTO;
import com.dycx.food.entity.ShoppingCartDO;
import com.dycx.food.vo.ShoppingCartVO;

import java.util.List;


public interface ShoppingCartFoodService extends IService<ShoppingCartDO> {
    Boolean add(ShoppingCartDTO dto);

    Boolean minus(Integer id);

    Boolean plus(Integer id);

    List<ShoppingCartVO> getList();

    List<ShoppingCartVO> getListByIds(List<Integer> ids);

    Boolean clearShoppingCart();

    Boolean delCart(Integer id);

    Boolean delCartByIds(List<Integer> ids);

    int countShoppingCart();
}
